Crate spacetimedb_commitlog
source ·Re-exports§
Modules§
Structs§
- Entry type of a
crate::Commitlog
. - The canonical commitlog, backed by on-disk log files.
Commitlog
options.- Pair of transaction offset and payload.
- An owned string with a max length of
N
, like the venerable VARCHAR.
Constants§
Functions§
- Obtain an iterator which traverses the commitlog located at the
root
directory from the start, yieldingCommit
s. - Obtain an iterator which traverses the commitlog located at the
root
directory starting fromoffset
and yieldingCommit
s. - Traverse the commitlog located at the
root
directory from the start and “fold” its transactions into the providedDecoder
. - Traverse the commitlog located at the
root
directory starting fromoffset
and “fold” its transactions into the providedDecoder
. - Obtain an iterator which traverses the commitlog located at the
root
directory from the start, yieldingTransaction
s. - Obtain an iterator which traverses the commitlog located at the
root
directory starting fromoffset
and yieldingTransaction
s.